package io.mft.commons.multithreading.worker;

public class InnerWorker implements Runnable{
	private Work work;
	public InnerWorker(Work work){
		this.work=work;
	}
	@Override
	public void run() {
		if (work!=null) {
			work.handle();
		}
	}

}
